Template usage
RealAudio player
Parameters:
- type (optional, [realaudio|ra])
- path (mandatory)
- autoplay (optional, [1|0], default=see mgmediabot configuration)
- width (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.ra|width=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.ra|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=36{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.ra|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=36{/mgmediabot2}
Download realaudio.tmpl
MPEG player
Parameters:
- type (mandatory, [mpegfile])
- path (mandatory)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}type=mpegfile|path=images/stories/media/video1.mpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}type=mpegfile|path=images/stories/media/video1.mpg|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}type=mpegfile|path=images/stories/media/video1.mpg|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download mpegplayer.tmpl
Flash Mediaplayer
Parameters:
- type (optional, [flmediaplayer|flv|xml|mp3|jpg|gif|png|rbs|rtmp|swf])
- path (mandatory, you can add path multiple times)
- title (optional, you can add title multiple times)
- author (optional, you can add author multiple times)
- link (optional, you can add link multiple times)
- image (optional, you can add image multiple times)
- allowfullscreen (default=true)
- displayheight (mostly needed, default=200)
- shuffle (optional default=false)
- repeat (optional, [true|false|list], default=true)
- thumbsinplaylist, (optional, [true|false], default=false)
- overstretch, (optional, [true,false,fit,none], default=none)
- autoplay (optional, [true|false], default=see mgmediabot configuration)
- bufferlength (optional, default=3)
- searchbar {optional, [true,false], default=false}
- searchlink (optional, default=http://search.longtail.tv/%3Fq%3D)
- width (mandatory)
- height (mandatory)
- logo (optional)
- more parameters
Usage:
Hint:: The displayheight parameter will help you to adjust the playlist height, aspect ratio and so on, so the displayheight is only the height of the display over transportbar, so height should be displayheight+20(transportbar)+playlistheight.
{mgmediabot2}path=images/stories/media/video1.flv|path=images/stories/media/video2.flv|title=Video 1|title=Video 2|width=300|height=300|displayheight=200{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.flv|path=images/stories/media/video2.flv|title=Video 1|title=Video 2|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300|displayheight=200{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.flv|path=images/stories/media/video2.flv|title=Video 1|title=Video 2|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300|displayheight=200{/mgmediabot2}
Download flashmediaplayer.tmpl
Quicktime player
Parameters:
- type (optional, [quicktime|mov|mp4|m4u])
- path (mandatory)
- autoplay (optional, [1|0], default=see mgmediabot configuration)
- scale (optional, [|tofit|aspect], default=1)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.mov|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.mov|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.mov|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download quicktime.tmpl
googlevideo player
Parameters:
- type (mandatory, [googlevideo])
- docid (mandatory)
- autoplay (optional, [true,false], default=see mgmediabot configuration)
- width (optional, default=400)
- height (optional, default=326)
- more parameters
Usage:
{mgmediabot2}type=googlevideo|docid=12345{/mgmediabot2}
{mgmediabot2}type=googlevideo|docid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=400|height=326{/mgmediabot2}
{mgmediabot2}type=googlevideo|docid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=400|height=326{/mgmediabot2}
Download googlevideo.tmpl
DivX Webplayer
Parameters:
- type (optional, [flashmediaplayer|flv|xml|mp3|jpg|gif|png|rbs|rtmp|swf])
- path (mandatory, you can add path multiple times)
- autoplay (optional, [true|false], default=see mgmediabot configuration)
- allowcontextmenu (optional, [true, false], default=true)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.divx|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.divx|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.divx|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download divx.tmpl
brightcove player
Parameters:
- type (mandatory, [brightcove])
- brightcoveid (mandatory)
- autoplay (optional, [true,false], default=see mgmediabot configuration)
- width (optional, default=486)
- height (optional, default=412)
- more parameters
Usage:
{mgmediabot2}type=brightcove|brightcoveid=12345{/mgmediabot2}
{mgmediabot2}type=brightcove|brightcoveid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
{mgmediabot2}type=brightcove|brightcoveid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
Download brightcove.tmpl
Flash Mediaplayer for playlists
Parameters:
- type (optional, [flmediaplayerxml|xml)
- path (mandatory)
- allowfullscreen (default=true)
- displayheight (mostly needed, default=200)
- shuffle (optional default=false)
- repeat (optional, [true|false|list], default=true)
- thumbsinplaylist, (optional, [true|false], default=false)
- autoplay (optional, [true|false], default=see mgmediabot configuration)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
Hint:: The displayheight parameter will help you to adjust the playlist height, aspect ratio and so on, so the displayheight is only the height of the display over transportbar, so height should be displayheight+20(transportbar)+playlistheight.
{mgmediabot2}path=images/stories/media/playlist.xml|width=300|height=300|displayheight=200{/mgmediabot2}
{mgmediabot2}path=images/stories/media/playlist.xml|lightbox=true|lightboxcaption=My Playlist|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300|displayheight=200{/mgmediabot2}
{mgmediabot2}path=images/stories/media/playlist.xml|popup=true|popupcaption=My Playlist|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300|displayheight=200{/mgmediabot2}
Download flashmediaplayerxml.tmpl
youtube player
Parameters:
- type (mandatory, [youtube])
- youtubeid (mandatory)
- autoplay (optional, [true,false], default=see mgmediabot configuration)
- wmode (optional, default=transparent)
- width (optional, default=425)
- height (optional, default=350)
- displayrelated (optional [0,1], default=0)
- more parameters
Usage:
{mgmediabot2}type=youtube|youtubeid=12345{/mgmediabot2}
{mgmediabot2}type=youtube|youtubeid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
{mgmediabot2}type=youtube|youtubeid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
Download youtube.tmpl
007MusicVideos player
Parameters:
- type (mandatory, [007musicvideos])
- 007musicvideosid (mandatory)
- width (optional, default=320)
- height (optional, default=285)
- linktext(optional, default=Go to 007MusicVideos.com
- more parameters
Usage:
{mgmediabot2}type=007musicvodeos|007musicvideosid=12345{/mgmediabot2}
{mgmediabot2}type=007musicvodeos|007musicvideosid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=320|height=285{/mgmediabot2}
{mgmediabot2}type=007musicvodeos|007musicvideosid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=320|height=285{/mgmediabot2}
Download 007musicvideos.tmpl
Flash Mediaplayer
Parameters:
- type (optional, [html])
- path (mandatory)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=http://www.test.com/test.html|lightbox=true|lightboxcaption=My HTML Page|lightboxpreview=images/stories/mythumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=http://www.test.com/test.html|popup=true|popupcaption=My Video|popuppreview=images/stories/mythumb.jpg|width=300|height=300{/mgmediabot2}
Download html.tmpl
RealVideo player
Parameters:
- type (optional, [realvideo|rm|rv])
- path (mandatory)
- autoplay (optional, [1|0], default=see mgmediabot configuration)
- width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.rm|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.rm|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.rm|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download realvideo.tmpl
stage6 player
Parameters:
- type (mandatory, [stage6])
- stage6id (mandatory)
- autoplay (optional, [true,false], default=see mgmediabot configuration)
- width (optional, default=640)
- height (optional, default=272)
- more parameters
Usage:
{mgmediabot2}type=stage6|stage6id=12345{/mgmediabot2}
{mgmediabot2}type=stage6|stage6id=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
{mgmediabot2}type=stage6|stage6id=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
Download stage6.tmpl
WindowsMedia player
Parameters:
- type (optional, [windowsmedia|wmv|avi|mpg|mpeg|wma|asx])
- path (mandatory)
- autoplay (optional, [1|0], default=see mgmediabot configuration)
- wmode (optional, default=opaque)
- contextmenu (optional, default=1
width (mandatory)
- height (mandatory)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/video1.wmv|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.wmv|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/video1.wmv|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download windowsmedia.tmpl
Flash player
Parameters:
- type (optional, [flash|swf])
- path (mandatory)
- width (mandatory)
- height (mandatory)
- wmode (optional, default transparent)
- more parameters
Usage:
{mgmediabot2}path=images/stories/media/flash.swf|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/flash.swf|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
{mgmediabot2}path=images/stories/media/flash.swf|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=300|height=300{/mgmediabot2}
Download flash.tmpl
myvideo.de player
Parameters:
- type (mandatory, [myvideode])
- myvideodeid (mandatory)
- autoplay (not supported, no parameter known, default=see mgmediabot configuration)
- width (optional, default=425)
- height (optional, default=350)
- more parameters
Usage:
{mgmediabot2}type=myvideode|myvideodeid=12345{/mgmediabot2}
{mgmediabot2}type=myvideode|myvideodeid=12345|lightbox=true|lightboxcaption=My Video|lightboxpreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
{mgmediabot2}type=myvideode|myvideodeid=12345|popup=true|popupcaption=My Video|popuppreview=images/stories/myvideothumb.jpg|width=486|height=412{/mgmediabot2}
Download myvideode.tmpl More parameters
If you use the popup or lightbox parameter, width and height are mandatory!
- popup (optional [Link Text]), addidtional params:
- popuppreview (optional, [path to your preview image])
- popupcaption (optional, [title of the link])
- lightbox (optional [Link text or grouping of multiple items with the same text here]), additional params:
- lightboxpreview (optional, [path to your preview image])
- lightboxcaption (optional, [title of the link, and caption of the lightbox])